module.exports = {
  //关闭eslint
  lintOnSave: false,
  productionSourceMap: false,
  //代理跨域
  devServer: {
    proxy: {
      '/api': {
        // target: 'http://39.98.123.211',
        target: 'http://gmall-h5-api.atguigu.cn' //链接地址改了
        // pathRewrite: { '^/api': '' },//路径重写
      },
    },
  },
}